package com.panshi.repast.Http;

import java.util.List;

import org.apache.http.NameValuePair;

import com.panshi.repast.Http.DataLoaderTask.DataCallback;

/**
 * 网络连接数据实体
 * 
 * @author huang
 * 
 */
public class DataRequest {

	public DataCallback callback; // 接口
	public String url; // 连接地址
	public List<NameValuePair> params; // 参数
	public String mDefValue; // 默认值

	public int dataStatus; // 状态
	public String mValue; // 返回值

	public DataRequest(DataCallback callback, String url,
			List<NameValuePair> params, String mDefValue) {
		this.callback = callback;
		this.url = url;
		this.params = params;
		this.mDefValue = mDefValue;
	}
}
